package com.zxjia.ssmp.api;


import com.zxjia.ssmp.dto.MemberAddressRequest;
import com.zxjia.ssmp.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(value = "ssmp-wx-api-user")
@RequestMapping("/api")
public interface UserApiService {

    @PostMapping(value = "/user/getMemberAddress")
    List<MemberAddressVo> getMemberAddress(@RequestBody MemberAddressRequest request);


}
